<div id="wrapper">
        <!--Body content-->
        <div id="content" class="clearfix">
            <div class="contentwrapper"><!--Content wrapper-->

                <div class="heading">

                    <h3>Data Barang</h3>                    

                    <div class="resBtnSearch">
                        <a href="#"><span class="icon16 icomoon-icon-search-3"></span></a>
                    </div>

                   <!-- <div class="search">

                        <form id="searchform" action="http://themes.suggeelson.com/supr/search.html">
                            <input type="text" id="tipue_search_input" class="top-search" placeholder="Search here ..." />
                            <input type="submit" id="tipue_search_button" class="search-btn" value=""/>
                        </form>
                
                    </div>
                    
                    <ul class="breadcrumb">
                        <li>You are here:</li>
                        <li>
                            <a href="#" class="tip" title="back to dashboard">
                                <span class="icon16 icomoon-icon-screen-2"></span>
                            </a> 
                            <span class="divider">
                                <span class="icon16 icomoon-icon-arrow-right-2"></span>
                            </span>
                        </li>
                        <li class="active">Data tables</li>
                    </ul><!-- End search -->

                </div><!-- End .heading-->
    				
                <!-- Build page from here: Usual with <div class="row-fluid"></div> -->

                    <div class="row-fluid">

                        <div class="span12">

                            <div class="box gradient">

                                <div class="title">
                                    <h4>
                                        <span>Tabel Barang</span>
                                    </h4>
                                </div>
                                <div class="content noPad clearfix">
                                    <table cellpadding="0" cellspacing="0" border="0" class="responsive dynamicTable display table table-bordered" width="100%">
                                        <thead>
                                            <tr>
                                                <th>No</th>
                                                <th>ID Barang</th>
                                                <th>Nama Barang</th>
												<th>Kategori</th>
												<th>Actions</th>
                                            </tr>
                                        </thead>
                                        <tbody>
										<?php
										$no = 1;
										foreach($data as $row){
										?>
                                            <tr>
												<td><?php echo $no++;?></td>
                                                <td><?php echo $row->id_barang;?></td>
                                                <td><?php echo $row->nama_barang;?></td>
												<td><?php echo $row->nama_kategori_barang;?></td>
												<td>
													<div class="controls center">
														<a href="<?php echo base_url()."barang/update/".$row->id_barang;?>" title="Edit task" class="tip"><span class="icon12  icon-pencil"></span></a>
														<a href="<?php echo base_url()."bahan/delete/".$row->id_barang;?>" title="Remove task" class="tip"><span class="icon12 icon-trash"></span></a>
													</div>
												</td>
                                            </tr>
                                        <?php } ?>
                                        </tbody>
                                        
                                    </table>
                                </div>

                            </div><!-- End .box -->

                        </div><!-- End .span12 -->

                    </div><!-- End .row-fluid -->
                   				
            </div><!-- End contentwrapper -->
        </div><!-- End #content -->
    
    </div><!-- End #wrapper -->